<template>
  <div>这是新闻的儿子</div>
  <div class="paramsTest">
    <ul>
      <li>编号：{{ a }}</li>
      <li>标题：{{ b }}</li>
      <li>内容：{{ c }}</li>
    </ul>
  </div>
</template>

<script lang="ts" setup name="NewsSon">
import { toRefs ,defineProps} from 'vue';
import { useRoute } from 'vue-router';
// defineProps(["id","title","content"])
defineProps(["a","b","c"])

</script>

<style>
img{
  height: 100px;
}
</style>